package com.ruoyi.emergency.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.emergency.domain.EmergencyProfessor;

/**
 * 应急救援专家Mapper接口
 *
 * @author hcc
 * @date 2024-11-21
 */
public interface EmergencyProfessorMapper extends BaseMapper<EmergencyProfessor> //修改
{
    /**
     * 查询应急救援专家
     *
     * @param id 应急救援专家主键
     * @return 应急救援专家
     */
    public EmergencyProfessor selectEmergencyProfessorById(Long id);

    /**
     * 查询应急救援专家列表
     *
     * @param emergencyProfessor 应急救援专家
     * @return 应急救援专家集合
     */
    public List<EmergencyProfessor> selectEmergencyProfessorList(EmergencyProfessor emergencyProfessor);

    /**
     * 新增应急救援专家
     *
     * @param emergencyProfessor 应急救援专家
     * @return 结果
     */
    public int insertEmergencyProfessor(EmergencyProfessor emergencyProfessor);

    /**
     * 修改应急救援专家
     *
     * @param emergencyProfessor 应急救援专家
     * @return 结果
     */
    public int updateEmergencyProfessor(EmergencyProfessor emergencyProfessor);

    /**
     * 删除应急救援专家
     *
     * @param id 应急救援专家主键
     * @return 结果
     */
    public int deleteEmergencyProfessorById(Long id);

    /**
     * 批量删除应急救援专家
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEmergencyProfessorByIds(Long[] ids);
}
